package com.gxa.stu.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author gxa
 * @since 2022-11-03
 */
@Getter
@Setter
@TableName("tb_permission")
@ApiModel(value = "TbPermission对象", description = "权限表")
public class TbPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("权限编号")
      @TableId(value = "permission_id", type = IdType.AUTO)
    private Integer permissionId;

    @ApiModelProperty("权限英文全称")
    private String permissionName;

    @ApiModelProperty("权限中文全称")
    private String permissionRemark;

    @ApiModelProperty("权限的链接url")
    private String permissionUrl;

    @ApiModelProperty("父权限编号")
    private Integer pid;


}
